<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
 <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>代购网</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
	<meta name="author" content="Muhammad Usman">
	

<!-- The styles -->
	<link id="bs-css" href="<%=path %>/base/style/css/bootstrap-cerulean.css" rel="stylesheet" >
	<style type="text/css">
	  body {
		padding-bottom: 40px;
	  }
	  .sidebar-nav {
		padding: 9px 0;
	  }
	  
	  	/* 输入控件验证出错*/
		form  input.error { 
			border:solid 1px Red;
		}
		/* 验证错误提示信息*/
		form label.error {
			color:Red;
			font-size:12px;
			margin-left:5px;
			padding-left:16px;
			background:url("<%=path%>/base/style/img/cancel-on.png") left no-repeat;
		}
	</style>
	<link href="<%=path %>/base/style/css/bootstrap-responsive.css" rel="stylesheet">
	<link href="<%=path %>/base/style/css/charisma-app.css" rel="stylesheet">
	<link href="<%=path %>/base/style/css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
	<link href='<%=path %>/base/style/css/fullcalendar.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/fullcalendar.print.css' rel='stylesheet'  media='print'>
	<link href='<%=path %>/base/style/css/chosen.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/uniform.default.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/colorbox.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/jquery.cleditor.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/jquery.noty.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/noty_theme_default.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/elfinder.min.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/elfinder.theme.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/jquery.iphone.toggle.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/opa-icons.css' rel='stylesheet'>
	<link href='<%=path %>/base/style/css/uploadify.css' rel='stylesheet'>

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

	<!-- The fav icon -->
	<link rel="shortcut icon" href="<%=path %>/base/style/img/favicon.ico">
		
</head>

<body>
		
		<!-- top starts -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href="index.html"> <img alt="Charisma Logo" src="<%=path %>/base/style/img/logo20.png" /> <span>代购网</span></a>
				
				<!-- theme selector starts -->
				<div class="btn-group pull-right theme-container" >
					<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu" id="themes">
						<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
						<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
						<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
						<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
						<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
						<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
						<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
						<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
						<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
					</ul>
				</div>
				<!-- theme selector ends -->
				
				<!-- user dropdown starts -->
				<div class="btn-group pull-right" >
					<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-user"></i><span class="hidden-phone"> 【${sessionScope.user.code}】${sessionScope.user.name}</span>
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="#">我的信息</a></li>
						<li class="divider"></li>
						<li><a href="<%=path %>/loginController/userLogout.do">退出</a></li>
					</ul>
				</div>
				<!-- user dropdown ends -->
				
				<div class="top-nav nav-collapse">
					<ul class="nav">
						<li><a href="#">Visit Site</a></li>
						<li>
							<form class="navbar-search pull-left">
								<input placeholder="Search" class="search-query span2" name="query" type="text">
							</form>
						</li>
					</ul>
				</div><!--/.nav-collapse -->
			</div>
		</div>
	</div>
	<!-- top ends -->
	
	
	<!-- left menu starts -->
		<div class="span2 main-menu-span">
			<div class="well nav-collapse sidebar-nav">
				<ul class="nav nav-tabs nav-stacked main-menu">
					<li class="nav-header hidden-tablet">Main</li>
					<li><a class="ajax-link" href="<%=path %>"><i class="icon-home"></i><span class="hidden-tablet">主页</span></a></li>
					<li><a class="ajax-link" href="<%=path %>/userController/getUserList.do"><i class="icon-eye-open"></i><span class="hidden-tablet">用户管理</span></a></li>
					<li><a class="ajax-link" href="<%=path %>/roleController/getRoleList.do"><i class="icon-edit"></i><span class="hidden-tablet"> 角色管理</span></a></li>
					<li><a class="ajax-link" href="chart.html"><i class="icon-list-alt"></i><span class="hidden-tablet"> Charts</span></a></li>
					<li><a class="ajax-link" href="typography.html"><i class="icon-font"></i><span class="hidden-tablet"> Typography</span></a></li>
					<li><a class="ajax-link" href="gallery.html"><i class="icon-picture"></i><span class="hidden-tablet"> Gallery</span></a></li>
					<li class="nav-header hidden-tablet">Sample Section</li>
					<li><a class="ajax-link" href="table.html"><i class="icon-align-justify"></i><span class="hidden-tablet"> Tables</span></a></li>
					<li><a class="ajax-link" href="calendar.html"><i class="icon-calendar"></i><span class="hidden-tablet"> Calendar</span></a></li>
					<li><a class="ajax-link" href="grid.html"><i class="icon-th"></i><span class="hidden-tablet"> Grid</span></a></li>
					<li><a class="ajax-link" href="file-manager.html"><i class="icon-folder-open"></i><span class="hidden-tablet"> File Manager</span></a></li>
					<li><a href="tour.html"><i class="icon-globe"></i><span class="hidden-tablet"> Tour</span></a></li>
					<li><a class="ajax-link" href="icon.html"><i class="icon-star"></i><span class="hidden-tablet"> Icons</span></a></li>
					<li><a href="error.html"><i class="icon-ban-circle"></i><span class="hidden-tablet"> Error Page</span></a></li>
					<li><a href="login.html"><i class="icon-lock"></i><span class="hidden-tablet"> Login Page</span></a></li>
				</ul>
				<label id="for-is-ajax" class="hidden-tablet" for="is-ajax"><input id="is-ajax" type="checkbox"> Ajax on menu</label>
			</div><!--/.well -->
		</div><!--/span-->
		<!-- left menu ends -->
	
	<div id="content" class="span11">
			<!-- content starts -->
			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">Test Home</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">Test Tables</a>
					</li>
				</ul>
			</div>
	</div>
	
	
	
	<!-- external javascript
	================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->

	<!-- jQuery -->
	<script src="<%=path %>/base/style/js/jquery-1.7.2.min.js"></script>
	<!-- jQuery jquery.validate.js -->
	<script src="<%=path %>/base/style/js/jquery.validate.js"></script>
	<!-- jQuery jquery.validate.js messages_cn.js -->
<%-- 	<script src="<%=path %>/base/style/js/messages_cn.js"></script> --%>
	<!-- jQuery UI -->
	<script src="<%=path %>/base/style/js/jquery-ui-1.8.21.custom.min.js"></script>
	<!-- transition / effect library -->
	<script src="<%=path %>/base/style/js/bootstrap-transition.js"></script>
	<!-- alert enhancer library -->
	<script src="<%=path %>/base/style/js/bootstrap-alert.js"></script>
	<!-- modal / dialog library -->
	<script src="<%=path %>/base/style/js/bootstrap-modal.js"></script>
	<!-- custom dropdown library -->
	<script src="<%=path %>/base/style/js/bootstrap-dropdown.js"></script>
	<!-- scrolspy library -->
	<script src="<%=path %>/base/style/js/bootstrap-scrollspy.js"></script>
	<!-- library for creating tabs -->
	<script src="<%=path %>/base/style/js/bootstrap-tab.js"></script>
	<!-- library for advanced tooltip -->
	<script src="<%=path %>/base/style/js/bootstrap-tooltip.js"></script>
	<!-- popover effect library -->
	<script src="<%=path %>/base/style/js/bootstrap-popover.js"></script>
	<!-- button enhancer library -->
	<script src="<%=path %>/base/style/js/bootstrap-button.js"></script>
	<!-- accordion library (optional, not used in demo) -->
	<script src="<%=path %>/base/style/js/bootstrap-collapse.js"></script>
	<!-- carousel slideshow library (optional, not used in demo) -->
	<script src="<%=path %>/base/style/js/bootstrap-carousel.js"></script>
	<!-- autocomplete library -->
	<script src="<%=path %>/base/style/js/bootstrap-typeahead.js"></script>
	<!-- tour library -->
	<script src="<%=path %>/base/style/js/bootstrap-tour.js"></script>
	<!-- library for cookie management -->
	<script src="<%=path %>/base/style/js/jquery.cookie.js"></script>
	<!-- calander plugin -->
	<script src='<%=path %>/base/style/js/fullcalendar.min.js'></script>
	<!-- data table plugin -->
	<script src='<%=path %>/base/style/js/jquery.dataTables.min.js'></script>

	<!-- chart libraries start -->
	<script src="<%=path %>/base/style/js/excanvas.js"></script>
	<script src="<%=path %>/base/style/js/jquery.flot.min.js"></script>
	<script src="<%=path %>/base/style/js/jquery.flot.pie.min.js"></script>
	<script src="<%=path %>/base/style/js/jquery.flot.stack.js"></script>
	<script src="<%=path %>/base/style/js/jquery.flot.resize.min.js"></script>
	<!-- chart libraries end -->

	<!-- select or dropdown enhancer -->
	<script src="<%=path %>/base/style/js/jquery.chosen.min.js"></script>
	<!-- checkbox, radio, and file input styler -->
	<script src="<%=path %>/base/style/js/jquery.uniform.min.js"></script>
	<!-- plugin for gallery image view -->
	<script src="<%=path %>/base/style/js/jquery.colorbox.min.js"></script>
	<!-- rich text editor library -->
	<script src="<%=path %>/base/style/js/jquery.cleditor.min.js"></script>
	<!-- notification plugin -->
	<script src="<%=path %>/base/style/js/jquery.noty.js"></script>
	<!-- file manager library -->
	<script src="<%=path %>/base/style/js/jquery.elfinder.min.js"></script>
	<!-- star rating plugin -->
	<script src="<%=path %>/base/style/js/jquery.raty.min.js"></script>
	<!-- for iOS style toggle switch -->
	<script src="<%=path %>/base/style/js/jquery.iphone.toggle.js"></script>
	<!-- autogrowing textarea plugin -->
	<script src="<%=path %>/base/style/js/jquery.autogrow-textarea.js"></script>
	<!-- multiple file upload plugin -->
	<script src="<%=path %>/base/style/js/jquery.uploadify-3.1.min.js"></script>
	<!-- history.js for cross-browser state change on ajax -->
	<script src="<%=path %>/base/style/js/jquery.history.js"></script>
	<!-- application script for Charisma demo -->
	<script src="<%=path %>/base/style/js/charisma.js"></script>
</body>
</html>